@use '@/asset/css/common/var' as *;
@use 'element-plus/theme-chalk/src/common/var.scss' as *;

/* 暗黑模式 */
:root[theme='dark'],
html.dark {
  @each $name in map-keys($color-map) {
    @include mix-color($name, 'light', 1, 1, $color-black);
    @include mix-color($name, 'light', 1.5, 1_5, $color-black);
    @include mix-color($name, 'light', 2, 2, $color-black);
    @include mix-color($name, 'light', 4, 4, $color-black);
    @include mix-color($name, 'light', 6, 6, $color-black);
    @include mix-color($name, 'dark', 0.5, 0_5, $color-white);
    @include mix-color($name, 'dark', 1, 1, $color-white);
  }
}
